/*
 * Copyright (c) 2008 Anshuman Manur <anshuman.manur@gmail.com>,
 * Lavanya Shastri <lavanya.shastri@gmail.com>
 * 
 * This file is part of Andronova.
 * 
 * Andronova is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * (at your option) any later version.
 * 
 * Andronova is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *  
 * You should have received a copy of the GNU General Public License
 * along with Andronova.  If not, see <http://www.gnu.org/licenses/>.
 * 
 */

package com.googlecode.andronova.helper;

public class ParsedDataSet {
	
	private String artist;
	private String album;
	private String title;
	private String lyrics;
	
	public void setArtist(String artist) {
		this.artist = artist;
	}
		
	public String getArtist() {
		return artist;
	}
	
	public void setAlbum(String album) { 
		this.album = album;
	}
	
	public String getAlbum() {
		return album;
	}

	public void setTitle(String title) {
		this.title = title;
	}
	
	public String getTitle() {
		return title;
	}
	
	public void setLyrics(String lyrics) {
		this.lyrics = lyrics.replace("[br]", "\n");
	}
	
	public String getLyrics() {
		return lyrics;
	}

	@Override
	public String toString() {
		if(lyrics==null || lyrics.equals(""))
			return "Song Lyrics Not Found";
		return title + "\n" + album + "\n" + artist + "\n\n" + lyrics;
	}	
	
}
